package com.orchard.orchardfarmmanagementsystem.service;


import com.orchard.orchardfarmmanagementsystem.dto.EvaluationDTO;
import com.orchard.orchardfarmmanagementsystem.dto.TaskDTO;
import com.orchard.orchardfarmmanagementsystem.dto.TaskEvaluationDTO;
import com.orchard.orchardfarmmanagementsystem.dto.TaskFetchDTO;
import com.orchard.orchardfarmmanagementsystem.entity.Task;
import com.orchard.orchardfarmmanagementsystem.entity.User;
import com.orchard.orchardfarmmanagementsystem.utils.Result;

import java.util.List;
import java.util.Map;

public interface TaskService {
  Result createTask(TaskDTO task);

  List<TaskFetchDTO> getAllTasks(Map<String, String> queryParams);

  Result updateTaskStatus(Integer taskId,String status);

  List<TaskEvaluationDTO> fetchCompletedTasks();




}